﻿using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.IO;

namespace Bouyei.Geo.GeoParsers.Parser
{
    using Shpfile;

    /// <summary>
    /// *.shp
    /// </summary>
    public class ShpParser
    {
        public ShpParser()
        {

        }

        public ShpFile FromReader(string pathName)
        {
            using (GeometryReader reader = new GeometryReader(pathName))
            {
                return reader.Reader();
            }
        }
    }

}
